package com.czmh.etc.onlinepubsys.configuration;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Setter@Getter
@ConfigurationProperties(prefix = "wx.applet")
public class WxAppletConfig {
    //小程序appid
    private String appId;
    //小程序appSecret
    private String appSecret;
    //微信支付的商户id
    private String mchId;
    //微信支付的商户密钥
    private String key;
    //交易类型
    private String tradeType = "JSAPI";
    //获取openID接口
    private String openidUrl;
    //普通订单支付成功后的服务器回调url
    private String notifyUrl;
    //订金订单支付成功后的服务器回调url
    private String depositNotifyUrl;
    //微信统一下单接口地址
    private String unifiedOrderUrl;
    //微信查询支付状态接口地址
    private String orderQueryUrl;

}
